from ftllibs.items.itemtools import ItemIconData

class Item_3110():
    def __init__(self):
        self.parent=False
        self.Name="Frozen Heart"
        self.IconFileName="3110.png"
        self.ID=3110
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1029','1029','3024','1027','1031']
        self.Builds_Into=[]
        self.Tags=['armor','mana','cooldown_reduction']
        self.Costs = 650
        self.Total_Costs = 2775
        self.Description="+99 Armor +500 Mana  UNIQUE Passive: +20% Cooldown Reduction  UNIQUE Aura: Reduces the Attack Speed of nearby enemies by 20%."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Armor += 99.0
        self.parent.Mana += 500.0
        self.parent.Cooldown_Reduction += 20.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


